<%= form_tag({:action => :upload}, :multipart => true) do %>

  <% if @dataobject.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@dataobject.errors.count, (t :error, :scope => [:helpers])) %>:</h2>
      <ul>
        <% @dataobject.errors.full_messages.each do |msg| %>
          <li><%= msg %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= file_field 'upload', 'datafile' %><br />
  </div>

  <div class="field">
    <label><%= (t :description, :scope => [:activerecord, :attributes, :dataobject]) %></label><br />
    <%= text_area_tag :description, nil, :size => "25x10" %>
  </div>

  <div class="actions">
    <%= submit_tag (t :upload, :scope => [:helpers, :submit]) %>
  </div>

<% end %>